package cn.ryh.jdbctemplate.service.Impl;

import cn.ryh.jdbctemplate.dao.JdbcTemplateDao;
import cn.ryh.jdbctemplate.entity.User;
import cn.ryh.jdbctemplate.service.JdbcTemplateService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @ClassName JdbcTemplateServiceImpl
 * @Description TODO
 * @Author RaoYH
 */
@Service
public class JdbcTemplateServiceImpl implements JdbcTemplateService{
    @Resource
    private JdbcTemplateDao jdbcTemplateDao;
    @Override
    public User getUser(Integer id) {
        return jdbcTemplateDao.getUser(id);
    }
}
